package com.note.simpleadmin.module.shop.dao;

import com.note.simpleadmin.entity.TbSpec;
import com.note.simpleadmin.entity.TbSpecOption;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/***
 *@ClaseName:ClassifyRepository
 *
 *@Decription:
 *
 *@Author: xubingbing
 *
 *@Date:2019/1/14 0014 10:06
 */
public interface SpecOptionRepository extends JpaRepository<TbSpecOption, String>, JpaSpecificationExecutor<TbSpecOption> {
    void deleteBySpecId(String specId);
    List<TbSpecOption> findBySpecId(String specId);
}
